// DB Connection
var appConfig = require('../app.config');

var mongoose = require('mongoose');

var options = { auto_reconnect: true, useNewUrlParser: true };
mongoose.connect(appConfig.mongoDbUrl, options);


exports.mongoose = mongoose;

